//
//  HJActionSheet.h
//  Molian
//
//  Created by 胡津 on 15/3/28.
//  Copyright (c) 2015年 xiaocan. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol HJActionSheetDelegate <NSObject>
@required
-(void)hjActionSheet:(UIButton*)sender clickedButtonAtIndex:(NSInteger)buttonIndex;
@end

@interface HJActionSheet : UIView

@property (nonatomic,weak) id<HJActionSheetDelegate>Delegate;

- (id) initWithTitle:(NSString*)title Delegate:(id)delegate  destructiveButtonTitle:(NSString*)destructiveButtonTitle OtherButtonTitles:(NSArray *)otherButtonTitles;

-(void) addView:(UIView*) view;
-(void) show;
-(void) hide;
-(void) toggle;

@end
